//
//  NWalletSortCell.m
//  News
//
//  Created by zhangtao on 2018/10/10.
//  Copyright © 2018年 zt.td. All rights reserved.
//

#import "NWalletSortCell.h"

@implementation NWalletSortCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)bindData:(YesterdayTopModel *)model
{
    [self.heardImgView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ImageUrl,model.subscriberHeadPic]] placeholderImage:[UIImage imageNamed:@"img"]];
    self.nameLab.text = model.subscriberNickName;
    self.moneyLab.text = [NSString stringWithFormat:@"%.2f",[@(model.coinAccount) floatValue]];
}

@end
